package hu.crs.demobank.backend.dto;

import java.util.Date;

public class TransferDTO {
	Integer id;
	String fromAccount;
	String toAccount;
	Integer amount;
	String comment;
	Date createTS;
	
	public TransferDTO(String fromAccount, String toAccount,
			int amount, String comment, Date createTS) {
		super();
		this.fromAccount = fromAccount;
		this.toAccount = toAccount;
		this.amount = amount;
		this.comment = comment;
		this.createTS = createTS;
	}
	
	public TransferDTO(int id, String fromAccount, String toAccount,
			int amount, String comment, Date createTS) {
		super();
		this.id = id;
		this.fromAccount = fromAccount;
		this.toAccount = toAccount;
		this.amount = amount;
		this.comment = comment;
		this.createTS = createTS;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFromAccount() {
		return fromAccount;
	}
	public void setFromAccount(String fromAccount) {
		this.fromAccount = fromAccount;
	}
	public String getToAccount() {
		return toAccount;
	}
	public void setToAccount(String toAccount) {
		this.toAccount = toAccount;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}

	public Date getCreateTS() {
		return createTS;
	}

	public void setCreateTS(Date createTS) {
		this.createTS = createTS;
	}
	

}
